<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>

    <body>
        <script>
            function Person(name) {
                this.name = name
            }
            const p = new Person('well')
            console.log('p.__proto__>>>', p.__proto__) // // Person.prototype
            console.log('p.__proto__.constructor>>>', p.__proto__.constructor) // f Person(name)
            console.log('Person.prototype.__proto__>>>', Person.prototype.__proto__) // Object.prototype
            console.log('p.__proto__.__proto__>>>', p.__proto__.__proto__) // // Object.prototype
            console.log('p.__proto__.constructor.prototype.__proto__>>>', p.__proto__.constructor.prototype.__proto__) // Object.prototype
            console.log(
                'Person.prototype.constructor.prototype.__proto__>>>',
                Person.prototype.constructor.prototype.__proto__
            ) // Object.prototype
            console.log('Person.prototype.constructor>>>', Person.prototype.constructor) // f Person(name)
        </script>
    </body>
</html>
